<html>
<head>
<title>回复意见</title> 
{{>/WEB-INF/pages/common/meta_base.part.html}}
{{>/WEB-INF/pages/common/refs_base.part.html}}
<script>
	$(document).ready(function() {
		//聚焦第一个输入框
		$("#cmt_type").focus();
		//为inputForm注册validate函数
		$("#inputForm").validate();
	});
</script>
</head>
<body>
	{{>/WEB-INF/pages/common/layout_header.part.html}}
	<div class="container">
		<ul class="breadcrumb">
		  <li><a href="{{ctx}}">首页</a></li>
		  <li><a href="{{ctx}}/comment?appId={{appId}}">应用意见</a></li>
		  <li class="active">回复意见</li>
		</ul>
		<table id="contentTable" class="table table-striped table-bordered table-hover">
			<thead><tr>
			<th>回复人</th><th>回复内容</th><th>回复时间</th>
			</tr></thead>
			<tbody>
			{{#feedbacks.content}}		
				<tr>
					<td>{{feedbackor}}</td>
					<td>{{content}}</td>
					<td>
						<script type="text/javascript">
							document.write($.format.date(
									"{{createTime}}",
									"yyyy-MM-dd HH:mm"))
						</script>
					</td>
				</tr>
			{{/feedbacks.content}}
			</tbody>
		</table>
		{{#page}}
		{{>/WEB-INF/pages/common/pagination.part.html}}
		{{/page}}
		<form id="inputForm" action="{{ctx}}/comment/feedback" method="post" class="form-horizontal text-center">
		<div class="control-group">
			<label for="cmt_content" class="control-label">回复内容:</label>			
			<textarea id="cmt_content" name="content" class="input-large required" style="min-width:400px;min-height:100px"></textarea>
			<input type="hidden" name="commentId" value="{{commentId}}"/>
			<input type="hidden" name="appId" value="{{appId}}"/>
		</div>
		<hr>
		<div class="control-group">
			<input id="submit_btn" class="btn btn-primary" type="submit" value="提交" />
			<a href="{{ctx}}/comment?appId={{appId}}" class="btn btn-primary">返回</a>
		</div>
		</form>
		{{>/WEB-INF/pages/common/layout_footer.part.html}}
	</div>
</body>
</html>
